Metaprogramming offers a great way to differentiate pattern code from implementation code because you express your pattern by using code that is about code. 元程序设计提供一种不错的方式将模式代码与实现代码区分开来,因为您使用关于代码的代码来表达您的模式。
Traditional programming model requires writing a significant amount of code in order to support this pattern. 传统编程模型要求编写大量的代码来支持此模式。
Power: rules can invoke any code and can recognize any text pattern. 功能强大:规则可以调用任何代码,可以识别任何文本模式。
As with the previous code block, a pattern emerges. 在以上代码块中,出现了一种模式。
This same code pattern could be adapted to perform any appropriate action each time you insert text. 每当您插入文本时,这个相同的代码模式可以适用于执行任何适当的行为。
This could be your own code or an existing Java pattern that isn't yet part of Lombok's library. 这可能是您自己的代码或者现有的Java模板,它还不属于Lombok库的一部分。
Unlike most of the following patterns, there was no actual code associated with the pattern; it formed the basic conceptual framework for all following implementation. 与下列的大多数模式不同,该模式实际上并没有与之相关的代码;它针对以后的实现形成了一个基本的概念化框架。
Returning to the course listing example, it's time to refactor the code to leverage the factory pattern. 回到课程列表示例,这时该重构代码,以利用工厂模式。
Unicode character class specifiers, arbitrary code execution inside a pattern, flag toggles, conditional expressions, and many other features were added to the regular expression engine. Unicode字符集、模式内任意代码操作、flagtoggles、条件表达式以及其他特征都被添加到正则表达式库中。
Your quest is to create code that inputs a deviant pattern and outputs just one base pattern. 您寻求的是创建代码,以使得可以输入不正常的图案而输出应得的一个基本图案。
The JVM will have to efficiently compile Java code to provide performance close to that of C code. Informal Discussion on New Pattern Programing Language Jave Faced to Object under Network Circumstances Java虚拟机必须高效地编译Java程序,以提供接近c语言程序的性能。漫谈网络环境下面向对象的新型编程语言Java
On the basis of analyzing MPPM code pattern and length, a super-frame synchronization method using combinational Barker code is designed. 在分析MPPM码型和帧长的特点基础上,设计了组合巴克码做为MPPM超帧同步码的方法。
A DFS Code Based on Algorithm for Graph Pattern Matching 一个基于DFS编码的图形匹配算法
Once a bug is fixed developers can use the "find matching clones" to see other code that follows the same pattern. 某个bug修复后,开发人员就可使用“查找匹配克隆”功能来看看其他遵循同样模式的代码。
Frequently, code is written in repeated pattern. 代码通常会以重复的模式编写。
Then we advanced a unification description method of products and object-oriented customization based on the method, which solved the problems of the description method of products and a rigid code pattern of products information in the networked sale and customization system; 提出产品信息统一描述技术和基于产品信息统一描述技术的对象化定制技术,解决了网络化销售和定制系统中存在的产品信息描述以及定制信息描述采取硬编码方式的问题;
The target is to declare necessary constraints for model, and to obtain the codes that can detect constraint violation during runtime, thus, precondition code pattern, postcondition code pattern, invariant code pattern need to be designed respectively. 本文的目标是对模型施加必要的约束,得到能检测出运行时约束冲突的代码,这就要求分别为前置条件、后置条件、不变式设计出相应的代码模式。
The convergence prOperty is investigated by means of analysis and simulation when different line code pattern is adopted. 本文对采用不同的线路码型时数据回波抵消器的收敛特性进行了分析和模拟。
On the General Part of Civil Code and its Legislation Pattern 民法典总则与民法典立法体系模式
The system adopts the time encoding, project a set of gray code pattern to the object in order by projector, and the camera take the intensity image from a fixed angle. 系统采用按时间编码方式,用投射器向被测景物按次序投射一组灰度格雷码图案,并由摄像机从一定角度摄取其强度图像;
According to the structural principle of the encoding template and generating binary pseudo-random sequential code by computer, pattern file is generated with language C based on encoding mode, thus the encoding template is lithographed. 根据编码模板的构造原理,通过计算机生成二元伪随机序列码,用C语言根据编码方式生成图形文件,进而光刻出编码模板。
Investigation of All-Optical Clock Recovery Using a Code Mixer to Reduce the Pattern Effect 采用混码器降低码型效应的全光时钟提取技术的研究
Through numerical simulating, it was observed that the optimum injected electric current should be chosen to minimize amplitude modulating effect and code pattern effect. 通过数值模拟,发现必须合理选取SOA的注入电流,从而消除幅度调制效应和码型效应的影响。
The error code diffusion pattern caused by channel error code will change with the image structure, but its diffusion is less than that of the fixed prediction codes. 信道误码引起的误码图案依图象的内容而有变化,但扩散程度比固定预测要小。
The relationship between machine description and code generation, and the technique of mapping RTL into object code by tree pattern matching are described in detail. 重点研究了机器描述与代码生成之间的关系、如何选用合适的中间表示进行目标机器指令系统的描述、树模式匹配的目标代码生成技术等。
The theoretical codes of criminal summary procedure include code of subject simplification and code of pattern simplification. 刑事简易程序的理论模式包括主体简化模式和方式简化模式两种。
At last, code generation engine considers well-designed pattern object as input and obtains all data including interaction and presentation information which are needed to generate user interface from pattern object. 最后,代码生成引擎以设计完善的模式对象作为输入,从模式对象中获取生成用户界面所需要的各种数据,包括用户与对象的交互和对象的展示信息,最终实现用户界面的自动生成。
This paper based on the background of space laser communication system. First of all, introduces application and development of code pattern generator and FPGA technology. 本文基于空间激光通信系统的背景,首先介绍了码型发生器和FPGA技术的应用及发展现状。
The digital simulation sources achieve the design requirement of technical index, it can realize the output of synthetic data stream, and the code rate, frame synchronization, output data word and code pattern can be adjusted. 设计的综合数据模拟源可输出码率、帧结构、数据字类型、码型可编程的综合数据,达到了设计技术指标要求。
In the introduction of the code pattern, polymorphism and generic programming integrated in refactoring method are used to reduce the number of interfaces for improving code reusability and flexibility. 4. 引入面向对象语言的代码模式,用多态特性、泛型编程机制,提炼类等重构方法,减少接口数、实体类数量,提高了代码的复用性和灵活性。